﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using System.Collections.Generic;
namespace Exact_Extension
{
    public partial class RedInvoiceRpt : DevExpress.XtraReports.UI.XtraReport
    {
        ISHCMC_V_TaxInvoice itemInvoice;
        public RedInvoiceRpt(ISHCMC_V_TaxInvoice _itemInvoice)
        {
            InitializeComponent();
            itemInvoice = _itemInvoice;
        }

        private void RedInvoiceRpt_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            List<ISHCMC_V_TaxInvoice> ListTaxInvoice = new List<ISHCMC_V_TaxInvoice>();
            ListTaxInvoice.Add(itemInvoice);
            this.bindingSource1.DataSource = ListTaxInvoice;
        }


    }
}
